package com.irdstudio.efp.cus.service.dao;

import com.irdstudio.efp.cus.service.domain.CusOrgEdit;

/**
 * DAO Interface:
 *
 * @author gcb
 * @date 2020-11-03
 */
public interface CusOrgEditDao {
    /**
     * 新增数据
     *
     * @param cusOrgEdit
     * @return
     */
    int insert(CusOrgEdit cusOrgEdit);

    /**
     * 根据主键删除信息
     *
     * @param cusOrgEdit
     * @return
     */
    int deleteByPk(CusOrgEdit cusOrgEdit);

    /**
     * 根据主键更新信息
     *
     * @param cusOrgEdit
     * @return
     */
    int updateByPk(CusOrgEdit cusOrgEdit);

    /**
     * 根据主键查询详情
     *
     * @param cusOrgEdit
     * @return
     */
    CusOrgEdit queryByPk(CusOrgEdit cusOrgEdit);

    /**
     * 根据机构号查询
     * @param cusOrgEdit
     * @return
     */
    CusOrgEdit queryByOrgNo(CusOrgEdit cusOrgEdit);
}